#ifndef SETWIG_H
#define SETWIG_H

#include <QWidget>
#include <Qstring>
#include <QDebug>
#include <QFile>
#include <QJsonDocument>
#include <QJsonValue>
#include <QJsonObject>
#include <QMessageBox>
#include "mqtt/qmqtt.h"

namespace Ui {
class SetWig;
}

class SetWig : public QWidget
{
    Q_OBJECT

public:
    explicit SetWig(QWidget *parent = 0);
    ~SetWig();


private:
    Ui::SetWig *ui;

public slots:
    void btnConnClickedSlot();
    void disconnectBtnSlot();
    void huixianshuju(QString);
    void setBtn1();
    void setBtn2();
    void setBtn3();

signals:
    void mySignal(QString);
    void sbmode1(int);
    void sbmode2(int);
    void sbmode3(int,int);



};

#endif // SETWIG_H
